//
//  ZWSeachTableViewCell.m
//  WanEr
//
//  Created by 高文萍 on 15/12/29.
//  Copyright © 2015年 高文萍. All rights reserved.
//

#import "ZWSeachTableViewCell.h"
#import "WanErHeader.h"
@implementation ZWSeachTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.seachImge = [[UIImageView alloc]init];
        [self.contentView addSubview:self.seachImge];
        
        self.seachName = [[UILabel alloc]init];
        self.seachName.font = [UIFont systemFontOfSize:16];
        [self.contentView addSubview:self.seachName];
        
        self.areaLabel = [[UILabel alloc]init];
        self.areaLabel.font = [UIFont systemFontOfSize:18];
        [self.contentView addSubview:self.areaLabel];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews]
    ;
    self.seachImge.frame = CGRectMake(15, 10, 100, 80);
    self.seachName.frame = CGRectMake(120, 10, 100, 30);
    self.areaLabel.frame = CGRectMake(120, 50, 200, 30);
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
